home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / ezzcomm.zip / README.1ST < prev    next >
Text File  |  1991-02-16  |  16KB  |  279 lines

  1. EZ-ZCOMM  Copyright 1991  by  Roger  E.  Hough,  All  Rights  Reserved.
  2. Licensed for  use at your own  risk without fee. Altered versions, when
  3. distributed, must  be clearly marked  as altered and accompanied by the
  4. originals.
  5.  
  6.  
  7.                                 Welcome
  8.  
  9. There  is,  of  course, nothing  magical  about  using a modem. With  a
  10. trivial BASIC program to echo what you  type to the modem and echo what
  11. the modem  types  to  you, and  with ANSI.SYS(part of  MS- and  PC-DOS)
  12. loaded, you may  set your own baud  rate, type in your  own modem  init
  13. strings, type your own modem dialing commands to call  bulletin boards,
  14. and enjoy the world of electronic messages and ANSI colors. The fastest
  15. possible  file  transfer  for compressed  archives  is  accomplished by
  16. simply sending  each byte  one-by-one  to your modem  or receiving each
  17. byte  one-by-one from your modem.  Detecting  and correcting  errors in
  18. transmission and  sending  or receiving  more than  one  file  within a
  19. session require something a bit more sophisticated, however.
  20.  
  21. With nothing more than  DSZ and with ANSI.SYS loaded, you may also type
  22. your own  modem init strings,  type  your own modem dialing commands to
  23. call  bulletin  boards,  enjoy  the world of electronic messages,  ANSI
  24. colors, and file transfer with error  detection and correction  that is
  25. among the best on  the planet. With a simple BAT file, you can exit DSZ
  26. and  re-invoke it  for  each file or  batch of  files transferred, then
  27. re-invoke it as a simple terminal emulator.
  28.  
  29. Eventually, the novelty of this will wear  off, the  thrill of watching
  30. it will subside, the  task of keeping track of passwords  will become a
  31. bother, and  the fear  of having  one's keyboard reprogrammed  by  ANSI
  32. sequences from elsewhere will begin  to  take  hold. Using ZANSI.SYS in
  33. place  of  ANSI.SYS will eliminate the  anxiety  about having innocuous
  34. keys on  your keyboard being  converted into instruments of destruction
  35. and the  thrill of  this discovery may postpone the inevitable, but the
  36. lack of automation will eventually become tiresome.
  37.  
  38. You may  elect  to  purchase  a program which  attempts  to retain your
  39. waning attention by turning modem sessions into video arcade games with
  40. lots of button-pressing, colorful screens, and  sound effects. It might
  41. even be so helpful as to remember your password for each bulletin board
  42. and  present it when you press the proper key. In an attempt to prolong
  43. your use of  it, the documentation for  such a program may  obscure the
  44. fact  that  your  are  at  least  as  capable  of  entering  the  modem
  45. initialization  and modem  dialing commands  as  is the program. It may
  46. provide  file transfer capabilities, although  these  are  unlikely  to
  47. serve you was well as the ones in DSZ. It may display its cleverness by
  48. accessing your  harddisk in strange and unusual ways, and your harddisk
  49. may even survive such encounters.
  50.  
  51. You may elect  to  employ  an  offline reader. This will do  nothing to
  52. remove the drudgery of file transfer, but it will capture messages with
  53. little intervention. It  may download these messages in an undocumented
  54. format. This format may contain a lot of redundant control information,
  55. the transfer  of which may prolong the  length of your sessions. It may
  56. be difficult to use the  same offline reader for more than one bulletin
  57. board. Its documentation may  obscure the simplicity of converting  its
  58. format  back  to  a 'flat'  text  file to be viewed with  your favorite
  59. 'browse' or 'edit' program.
  60.  
  61. If all of the conferences and files  in which you are interested can be
  62. accessed through a  network,  if  all  of the system operators  of  the
  63. boards you use  can be persuaded to set aside half a meg of  disk space
  64. in which to  save  your  messages  for  pickup, if  they trust  you  to
  65. configure your message bases correctly so as not to confuse theirs, and
  66. if they don't mind entering  file descriptions themselves for files you
  67. send them through a  network,  you may become a 'point' in the network.
  68. Very  few system operators will trust someone who is a  'point' on  one
  69. board  to become  a  'point'  on  another board,  since  the  slightest
  70. miscalculation in the user's setup will throw the message databases for
  71. both boards into complete disarray.
  72.  
  73. You may be ready for ZCOMM or Pro-Yam. This  isn't to say that you need
  74. to reach either of them through such a roundabout route. Both are quite
  75. willing to let you type your own init strings  and dialing commands and
  76. set your own serial  port speed.  Both  support the  same file transfer
  77. commands as DSZ, although they know a lot of others. The transfer is as
  78. reliable as DSZ, although it supports slightly faster port speeds. Both
  79. provide what  may be the fastest ANSI interpretation anywhere, and both
  80. allow you  to ignore any attempts to redefine your keyboard. Both  have
  81. extremely  powerful  command  languages  which  can create  displays as
  82. colorfully as you desire, although their author  may groan and roll his
  83. eyes to hear of their being used to create a video arcade game.
  84.  
  85. What should  a Comm  program do? I have my own ideas. It should save me
  86. the  expense of another  phone line, by using mine  when I'm asleep. It
  87. should maintain files of messages from each conference on each BBS.  It
  88. should enter  messages for  each conference  of each BBS, each  message
  89. represented by a  file in  a  DOS(or  MOS or unix) directory. It should
  90. maintain local listings  of files on each BBS, computing the age of the
  91. most recent listing on every session and obtaining a new listing if the
  92. age is more than a specified number of days. It should accept a list of
  93. files to be  uploaded  and  a  list of  files  to be  downloaded  using
  94. whatever protocol is known at each BBS.
  95.  
  96. I normally  keep quiet  when confronted  with others  boasting of their
  97. latest discovery in  Comm gadgetry. I have my own  version of Qmail and
  98. RoboComm: ZCOMM script files.  I can  only work on them as time allows,
  99. but they do all that I've described with PCBoard from release 10 to the
  100. present, with  RBBS, with Wildcat,  and with Forum-PC, including SMLNET
  101. doors and such.
  102.  
  103. Can this  be  done  with  Procomm?  Boyan?  Qmodem?  Telix? Not  to  my
  104. knowledge. I don't know of  any way to compute the  age of a file using
  105. those Comm packages, nor to control session capture files to the degree
  106. required for this, nor to execute a  script  within a  script for  each
  107. file found using a given filespec, nor to extract  key information from
  108. various prompts and use it in arithmetic calculations.
  109.  
  110. The manual available to you before registering is not very legible. The
  111. manual you  get  when  you  register is  much better,  and  I  strongly
  112. recommend getting the crib sheet. A better 'starter set' of scripts for
  113. ZCOMM would make it much more popular. It's taken me a while to develop
  114. mine.
  115.  
  116. Here they  are. I call  them  'EZZCOMM,'  since  they  are  intended to
  117. simplify  working with ZCOMM  or Pro-Yam.  Obtain  a  copy of ZCOMM  or
  118. Pro-Yam  no earlier than  version  17.63, and hopefully  as  recent  as
  119. 17.71.  Place  ZCOMM.EXE(for  ZCOMM)  and YHP.EXE  into your DOS  path.
  120. Create an empty DOS directory; any name will do. Unpack everything from
  121. this  archive  into  it.  Place  'ZMANH.HLP'  from  ZCOMMHLP  into this
  122. directory, also.
  123.  
  124. The master phone  directory I've provided is 'phodir.t', which includes
  125. a lot of numbers local to the 914 area code which you'll need to either
  126. remove or add the area code for. I've left them in to serve as examples
  127. of what to  expect. The location of  the  master phone directory may be
  128. set  as part of registering  ZCOMM or Pro-Yam, or may be established by
  129. setting the  environment variable  PHONES  in  your  AUTOEXEC.BAT.  Use
  130. forward  slashes rather than backward  slashes as path delimiters.  For
  131. example,
  132.  
  133. SET PHONES=C:/ZC/PHODIR.T
  134.  
  135. The 'phodir.t' master phone directory  expects to find the other  files
  136. from  this package in the same directory as  itself. Once this location
  137. has been established and the executable files are in your DOS path, you
  138. may invoke ZCOMM  or Pro-Yam from anywhere, without regard to a current
  139. drive letter or directory name. The  'phodir.t' master  phone directory
  140. will establish a  menu from  which  to  reach the other files from this
  141. package.
  142.  
  143. The  environmental variable ZCUSER must be  set to  identify you.  Your
  144. name,  setup  and passwords can then be kept  separate  from  those  of
  145. anyone  else who  uses the  same  machine, so long  as they set  ZCUSER
  146. differently. To set ZCUSER, issue the following  command  from the  DOS
  147. prompt or put it in your AUTOEXEC.BAT file:
  148.  
  149. SET ZCUSER=whatever
  150.  
  151. What you put  in  place of 'whatever' must be no more than 8 characters
  152. long and contain no special characters. It should be meaningful to you.
  153. ZCUSER is used to establish two files within the same directory as that
  154. in   which   the  the  'phodir.t'   master  phone  directory   resides.
  155. '<ZCUSER>.USR' holds  configuration  information. '<ZCUSER>.IDS'  holds
  156. passwords and user IDs.
  157.  
  158. If 'COM1' is  not the port to which your modem is configured, issue the
  159. following command  from your  AUTOEXEC.BAT or the batch file from which
  160. ZCOMM or Pro-YAM is invoked:
  161.  
  162. SET DPORT=whatever
  163.  
  164. What you  put  in place  of  'whatever'  should be the  COM port number
  165. without the  characters 'COM'. For  microchannel  machines, a two digit
  166. code may be needed, such as
  167.  
  168. SET DPORT=12
  169.  
  170. to select COM2 on IBM PS/2 microchannel machines.
  171.  
  172. Everything which must be  customized for your modem is contained in the
  173. dial script. Anything from Novation command sets to IBM command sets to
  174. Hayes command sets by  USR to  Hayes command sets by Hayes can be dealt
  175. with. The file 'dialmnp.t'  is a prototype for  error correcting modems
  176. with MNP or V.42 error correction. The file 'dialsmrt.t' is a prototype
  177. for modems which do not have error correction. The file 'dial5853.t' is
  178. for the IBM 5853, using  the IBM command  set. The file 'dialdual.t' is
  179. for  the USR HST Dual Standard with V.32bis and V.42bis; it should work
  180. with very little alteration for the USR HST. At the top of each file is
  181. the  dialing logic  itself. Below this, with a label  of 'init', is the
  182. initialization  logic  invoked  when  ZCOMM/Pro-Yam  begins.  Copy  the
  183. appropriate  script  to   'dialcom1.t'   for  use  with   COM1,  or  to
  184. 'dialcom2.t' for use  with COM2, and  so  forth. Customize  the file as
  185. indicated in the guidelines given at the bottom of the prototype, using
  186. the commands appropriate for your modem.
  187.  
  188. Time taken to do this properly is time very well spent.
  189.  
  190. It  is my  understanding that these guidelines apply to virtually every
  191. high-speed  communications  program,  whether  a  terminal  program  or
  192. front-end  mailer. ZCOMM  is at  least  as capable  as any  other  such
  193. program  of  dealing with deviations from these guidelines, but  it  is
  194. important to do as well as possible.
  195.  
  196. I've included  PCB2LOG,  QWK2LOG and  SML2LOG,  which  toss  downloaded
  197. messages into  appropriate log files that you  may then  view with your
  198. favorite browse program  or editor.  Move PCB2LOG.EXE, QWK2LOG.EXE, and
  199. SML2LOG.EXE into your DOS path. Type PCB2LOG or QWK2LOG or SML2LOG with
  200. no arguments for a quick description of the command line needed to make
  201. them work. PCB2LOG requires  about  40K  of storage  in  which to  run,
  202. SML2LOG  requires about 40K  of storage in  which to run,  and  QWK2LOG
  203. requires about 72K of storage in which to run, not including the amount
  204. consumed by the  stub of your  COMMAND.COM or whatever  other shell you
  205. use.
  206.  
  207. I've included a simple MOVE command which should also be placed in your
  208. DOS  path. The MOVE command I've included is a simple invokation of the
  209. DOS rename function, used only by the F8 function to  change a password
  210. when  logged  onto a  BBS. Type MOVE  with  no  arguments  for a  quick
  211. description. It can  be used to move files from your new directory to a
  212. directory in your DOS path, such as
  213.  
  214.               MOVE C:\XXXX\PCB2LOG.EXE C:\BIN\PCB2LOG.EXE
  215.  
  216. If  you  have  a better version  which  also accepts forward slashes as
  217. directory path delimiters, feel free to use it.
  218.  
  219. The NLTRIM command I've included is a simple program to search the last
  220. 256  bytes   of   a   file  and   discard  whatever  follows  the  last
  221. newline(linefeed) character.  It must be placed in your  DOS path. Type
  222. NLTRIM with no arguments for a quick description.
  223.  
  224. I've included an ANSISCAN command which  should also be  placed in your
  225. DOS  path.  Type  ANSISCAN with  no arguments for  a quick description.
  226. ANSISCAN converts files created by the 'picture' command or  Alt-Z into
  227. text files with ANSI control  codes. It will also re-scan existing text
  228. files  with ANSI  control  codes. It is intended to select ANSI control
  229. codes  which  will  render the desired  screen  image  with  the widest
  230. variety of ANSI  interpretation, but the output is usually more concise
  231. than  that of  other systems, so it's likely to become known as an ANSI
  232. optimizer. ANSISCAN requires about 50K  of storage in which to run, not
  233. including  the  amount  consumed  by the stub  of  your COMMAND.COM  or
  234. whatever other shell you use.
  235.  
  236. PKUNZIP must be somewhere in your DOS path as well, since it is used to
  237. unpack compressed mail from  PCBoard Version 14.5 or later, from Tomcat
  238. and Qmail and their cousins, and from SMLNET.
  239.  
  240. ANSI.SYS  or an equivalent must be loaded before  using  ANSISCAN. This
  241. would  be DVANSI.COM or  an  equivalent  under Desqview.  ANSI.SYS  (or
  242. whatever) serves two  purposes. First, it  interprets a text file to be
  243. re-scanned.  Some  text  files  are  specific  to  an  individual  ANSI
  244. interpreter,  so  it's up to you to find the one  which  your text file
  245. works with. Second, it interprets the composed text being echoed to the
  246. screen, to give you a quick glimpse of what ANSISCAN has done for you.
  247.  
  248. For SMLNET or QMAIL, you'll have to compose your own script, <board>.t,
  249. to enter the SMLNET  or TOMCAT  or  whatever door, before  invoking the
  250. 'smlnet.t' or  'tomcat.t' as I've  provided  them. For Tomcat or Qmail,
  251. configure  the door  to download  your own  messages, so you'll have  a
  252. record of what you've sent. Any time spent downloading bulletins or new
  253. file listings will be time wasted.
  254.  
  255. All  of  this is provided without warranty of any  kind whatsoever. You
  256. may use it at  your  own risk and  accept  responsibility  for whatever
  257. happens, or you may not  use it.  These scripts have been tested on  an
  258. unregistered copy of ZCOMM 17.71.  The scripts in the initial setup all
  259. indicate  which  options  may be used only with  registered versions of
  260. ZCOMM.
  261.  
  262. I have not  included  anything  to compose messages to be uploaded. You
  263. must  be a registered ZCOMM or  Pro-Yam user to use this  function. Any
  264. text editor will do. A  maximum line  width of 71 characters works well
  265. with  just about  every  form  of BBS software available. Look  in  the
  266. comments at the start of the appropriate script file and you'll find  a
  267. description  of  the  first  line  or  two  required  to  identify  the
  268. recipient.
  269.  
  270. Whatever updates I  provide for  these scripts,  I intend to provide as
  271. 'scripts' for EDLIN. The DOS command
  272.  
  273.                       EDLIN forumpc.t <forumpc.p01
  274.  
  275. would apply an update 'forumpc.p01' to 'forumpc.t'. Such  updates  will
  276. only apply properly to unaltered versions of these scripts.
  277.  
  278.  -- Roger E. Hough, 7 Sharon Dr, Highland, NY
  279.